package com.trinity.orders.domain;

import com.trinity.common.annotation.Excel;
import com.trinity.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 订单详情对象 xc_orders_goods
 *
 * @author trinity
 * @date 2023-11-19
 */
@Data
@ToString
public class XcOrdersGoods extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private Long orderId;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private String goodsId;

    /**
     * 商品类型
     */
    @Excel(name = "商品类型")
    private String goodsType;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String goodsName;

    /**
     * 商品交易价，单位分
     */
    @Excel(name = "商品交易价，单位分")
    private BigDecimal goodsPrice;

    /**
     * 商品详情json
     */
    @Excel(name = "商品详情json")
    private String goodsDetail;

}
